﻿namespace Basic.FlowRemoteModel.Application.Model
{
    public class NodeItem
    {
        public long Id { get; set; }

        public string Name { get; set; }

        public long[] EmpId { get; set; }

        public string[] EmpName { get; set; }
        public FlowAuditType AuditType { get; set; }
        public FlowNodeType NodeType { get; set; }
        public long BatchNo { get; set; }

        public override bool Equals ( object? obj )
        {
            if ( obj is NodeItem i )
            {
                return this.Id == i.Id;
            }
            return false;
        }
        public override int GetHashCode ()
        {
            return this.Id.GetHashCode();
        }
    }
}
